package com.dhecp.core.genericDao;

/**
 * 排序 sort实体
 */
public class Sort {

    private String field;
    private SortDirection sortDirection;

    public Sort(String field, SortDirection sortDirection) {
        this.field = field;
        this.sortDirection = sortDirection;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public SortDirection getSortDirection() {
        return sortDirection;
    }

    public void setSortDirection(SortDirection sortDirection) {
        this.sortDirection = sortDirection;
    }
}